gtk4.git
18 years agoset alternative button order on the password dialog.
Sven Neumann [Tue, 18 Mar 2008 09:21:15 +0000 (09:21 +0000)]
set alternative button order on the password dialog.

2008-03-18  Sven Neumann  <sven@gimp.org>

* gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
alternative button order on the password dialog.

svn path=/trunk/; revision=19897

18 years agoBug 99192 - Add --with-include-input-modules
Tor Lillqvist [Mon, 17 Mar 2008 23:53:18 +0000 (23:53 +0000)]
Bug 99192 - Add --with-include-input-modules

2008-03-18  Tor Lillqvist  <tml@novell.com>

Bug 99192 - Add --with-include-input-modules

* configure.in: Add --with-included-immodules switch. Handled in a
similar way as the --with-included-loaders switch. For each input
method module foo: Collect the list of input modules to be built
into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
-DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
Define Automake conditionals INCLUDE_IM_FOO.

* modules/input/Makefile.am: For modules to be included in libgtk,
build a static library.

* modules/input/im*.c: Use MODULE_ENTRY macros much like in
gdk-pixbuf to get unique names for the functions called by libgtk
in the included case. Use G_MODULE_EXPORT in the non-included case
so that we don't unnecessarily export unneeded random global
symbols on Windows.

* gtk/Makefile.am: Build the included modules and link them into libgtk.

* gtk/gtkimmodule.c: Handle the built-in modules. Remove
copy/paste leftover mentions of "themes" in comments.

svn path=/trunk/; revision=19896

18 years agoBuild testmountoperation only on Unix for now.
Tor Lillqvist [Mon, 17 Mar 2008 22:41:55 +0000 (22:41 +0000)]
Build testmountoperation only on Unix for now.

2008-03-18  Tor Lillqvist  <tml@novell.com>

* tests/Makefile.am: Build testmountoperation only on Unix for now.

svn path=/trunk/; revision=19895

18 years agoImplement GtkMountOperation, a subclass of GMountOperation to be used with
Christian Kellner [Mon, 17 Mar 2008 17:29:55 +0000 (17:29 +0000)]
Implement GtkMountOperation, a subclass of GMountOperation to be used with

2008-03-17  Christian Kellner  <gicmo@gnome.org>

        Implement GtkMountOperation, a subclass of GMountOperation
        to be used with gio wherever there is the need to ask the
        user for credentials or questions while mounting a volume.
        This is bug #522245

        * gtk/gtkmountoperation.c:
        * gtk/gtkmountoperation.h:
        Implement GtkMountOperation.

        * gtk/gtk.h: Add gtkmountoperation.h
        * gtk/Makefile.am: Add gtkmountoperation.[hc]
        * gtk/gtk.symbols: Add symbols of GtkMountOperation.
        * tests/testmountoperation.c: Test program for it.
        * tests/Makefile.am: Add testmountoperation.

svn path=/trunk/; revision=19894

18 years agoProperly document gtk_container_set_focus_child(). (#521739, Andrew Cowie)
Emmanuele Bassi [Mon, 17 Mar 2008 13:57:00 +0000 (13:57 +0000)]
Properly document gtk_container_set_focus_child(). (#521739, Andrew Cowie)

2008-03-17  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkcontainer.c: Properly document
gtk_container_set_focus_child(). (#521739, Andrew Cowie)

svn path=/trunk/; revision=19893

18 years agore-wrapped some lines to make them fit into 80 columns
Sven Neumann [Mon, 17 Mar 2008 10:21:47 +0000 (10:21 +0000)]
re-wrapped some lines to make them fit into 80 columns

svn path=/trunk/; revision=19892

18 years agoUpdated zh_CN translation from manphiz
Yang Zhang [Mon, 17 Mar 2008 04:09:13 +0000 (04:09 +0000)]
Updated zh_CN translation from manphiz

svn path=/trunk/; revision=19890

18 years agomore descriptive style names for the ComboBox thickness style
Alberto Ruiz [Sun, 16 Mar 2008 03:57:38 +0000 (03:57 +0000)]
more descriptive style names for the ComboBox thickness style

2008-03-16  Alberto Ruiz <aruiz@gnome.org>
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive style
names for the ComboBox thickness style

svn path=/trunk/; revision=19888

18 years agodraw box does more intelligent separation for the xp theming engine and
Alberto Ruiz [Sun, 16 Mar 2008 03:39:15 +0000 (03:39 +0000)]
draw box does more intelligent separation for the xp theming engine and

2008-03-16  Alberto Ruiz <aruiz@gnome.org>

* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
* modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
(combo_box_draw_arrow) (setup_msw_rc_style): draw box does more intelligent
separation for the xp theming engine and the classic theme while drawing the
GtkComboBox button.
combobox_draw_arrow is not used anymore, commented.
The style has been updated to fix border/thickness glitches in the combobox
according to the fixes commited regarding bug #521442. (bug #461805)

svn path=/trunk/; revision=19887

18 years agoThe child is now aware of both the combobox and frame (if has-frame is
Alberto Ruiz [Sun, 16 Mar 2008 01:37:12 +0000 (01:37 +0000)]
The child is now aware of both the combobox and frame (if has-frame is

2008-16-03  Alberto Ruiz <aruiz@gnome.org>

* gtl/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is now aware of
both the combobox and frame (if has-frame is set) thickness and border. (bug #521442)

svn path=/trunk/; revision=19886

18 years agoAdded missing files.
Andre Klapper [Sat, 15 Mar 2008 16:59:43 +0000 (16:59 +0000)]
Added missing files.

2008-03-15  Andre Klapper  <a9016009@gmx.de>

* POTFILES.in: Added missing files.

svn path=/trunk/; revision=19885

18 years agoAdded "si" to ALL_LINGUAS.
Andre Klapper [Sat, 15 Mar 2008 16:57:27 +0000 (16:57 +0000)]
Added "si" to ALL_LINGUAS.

2008-03-15  Andre Klapper  <a9016009@gmx.de>

* configure.in: Added "si" to ALL_LINGUAS.

svn path=/trunk/; revision=19884

18 years agoAdded missing files.
Andre Klapper [Sat, 15 Mar 2008 16:55:47 +0000 (16:55 +0000)]
Added missing files.

2008-03-15  Andre Klapper  <a9016009@gmx.de>

* POTFILES.in: Added missing files.

svn path=/trunk/; revision=19883

18 years agoSet window type hint on the search popup. (#522279, Danny Baumann)
Matthias Clasen [Sat, 15 Mar 2008 04:51:48 +0000 (04:51 +0000)]
Set window type hint on the search popup. (#522279, Danny Baumann)

2008-03-15  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
        Set window type hint on the search popup.  (#522279, Danny Baumann)

svn path=/trunk/; revision=19880

18 years agoEmit preedit_start/_end as appropriate. (#521934, Huang Peng)
Matthias Clasen [Sat, 15 Mar 2008 04:24:50 +0000 (04:24 +0000)]
Emit preedit_start/_end as appropriate. (#521934, Huang Peng)

2008-03-15  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
        appropriate.  (#521934, Huang Peng)

svn path=/trunk/; revision=19878

18 years agogdk/gdkspawn.h gtk/gtkbuilderprivate.h gtk/gtkfilechoosersettings.c
Michael Natterer [Fri, 14 Mar 2008 20:38:58 +0000 (20:38 +0000)]
gdk/gdkspawn.h gtk/gtkbuilderprivate.h gtk/gtkfilechoosersettings.c

2008-03-14  Michael Natterer  <mitch@imendio.com>

* gdk/gdkspawn.h
* gtk/gtkbuilderprivate.h
* gtk/gtkfilechoosersettings.c
* gtk/gtksearchenginesimple.c
* gtk/tests/liststore.c
* gtk/tests/treestore.c: remove single-file includes of GLib
headers or replace them by <glib.h> where needed.

svn path=/trunk/; revision=19877

18 years agoAdded missing mnemonic to German version.
Andre Klapper [Fri, 14 Mar 2008 18:52:10 +0000 (18:52 +0000)]
Added missing mnemonic to German version.

2008-03-14  Andre Klapper  <a9016009@gmx.de>

* de.po: Added missing mnemonic to German version.

svn path=/trunk/; revision=19876

18 years agocoding style cleanup.
Michael Natterer [Fri, 14 Mar 2008 17:26:12 +0000 (17:26 +0000)]
coding style cleanup.

2008-03-14  Michael Natterer  <mitch@imendio.com>

* gtk/gtkadjustment.c: coding style cleanup.

(gtk_adjustment_set_property): no need to call g_object_notify()
on the set properties.

Implement GObject::dispatch_properties_changed() and make sure we
emit "changed" when anything but the "value" property changes.

svn path=/trunk/; revision=19875

18 years agoDrop the support for the MSH_MOUSEWHEEL message that MSDN says is used
Tor Lillqvist [Fri, 14 Mar 2008 16:11:50 +0000 (16:11 +0000)]
Drop the support for the MSH_MOUSEWHEEL message that MSDN says is used

2008-03-14  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c: Drop the support for the
MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
Win95. Thanks to mitch for noticing this obsolete code.

svn path=/trunk/; revision=19874

18 years agoChanged 'void int main()' to 'int main()'. (#522211, Liqing Huang)
Cody Russell [Fri, 14 Mar 2008 12:38:01 +0000 (12:38 +0000)]
Changed 'void int main()' to 'int main()'. (#522211, Liqing Huang)

2008-03-14  Cody Russell  <bratsche@gnome.org>

* examples/scribble-xinput/scribble-xinput.c: Changed
'void int main()' to 'int main()'. (#522211, Liqing Huang)

svn path=/trunk/; revision=19872

18 years agoPatch from Paul Davis, only flush the toplevel once per update.
Richard Hult [Fri, 14 Mar 2008 10:20:55 +0000 (10:20 +0000)]
Patch from Paul Davis, only flush the toplevel once per update.

2008-03-14  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_quartz_process_all_updates): Patch from Paul Davis,
only flush the toplevel once per update.

svn path=/trunk/; revision=19871

18 years agoHide the mouse cursor in the completion feedback window
Federico Mena Quintero [Fri, 14 Mar 2008 02:45:44 +0000 (02:45 +0000)]
Hide the mouse cursor in the completion feedback window
2008-03-13  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserentry.c (create_completion_feedback_window):
Set the mouse cursor of the feedback window to invisible, so that
we respect GtkEntry's invisible cursor while typing.

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19870

18 years agoUse rough font-based spacing for the completion entry's suggestion window
Federico Mena Quintero [Fri, 14 Mar 2008 02:13:54 +0000 (02:13 +0000)]
Use rough font-based spacing for the completion entry's suggestion window
2008-03-13  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
the feedback window at entry_height/2 pixels to the right of the
cursor, for a cheap "M-width / 2" spacing.

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19869

18 years agoRemove superfluous empty line
Tor Lillqvist [Thu, 13 Mar 2008 16:08:38 +0000 (16:08 +0000)]
Remove superfluous empty line

svn path=/trunk/; revision=19868

18 years agogtk/gtkfilechooserdefault.c set alternative button order for overwrite
Sven Neumann [Thu, 13 Mar 2008 14:09:02 +0000 (14:09 +0000)]
gtk/gtkfilechooserdefault.c set alternative button order for overwrite

2008-03-13  Sven Neumann  <sven@gimp.org>

* gtk/gtkfilechooserdefault.c
* gtk/gtkprintunixdialog.c: set alternative button order for
overwrite confirmation dialogs (bug #522191).

svn path=/trunk/; revision=19866

18 years agoadded some line-breaks for readability.
Sven Neumann [Thu, 13 Mar 2008 09:22:48 +0000 (09:22 +0000)]
added some line-breaks for readability.

2008-03-13  Sven Neumann  <sven@gimp.org>

* gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
(overwrite_confirmation_dialog): added some line-breaks for
readability.

svn path=/trunk/; revision=19862

18 years agoChangeLog for the new GtkFileChooserEntry completion code
Federico Mena Quintero [Thu, 13 Mar 2008 00:48:27 +0000 (00:48 +0000)]
ChangeLog for the new GtkFileChooserEntry completion code

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19860

18 years agoBeep with gtk_widget_error_bell()
Federico Mena Quintero [Thu, 13 Mar 2008 00:48:10 +0000 (00:48 +0000)]
Beep with gtk_widget_error_bell()

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19859

18 years agoBetter feedback for sole completions
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:54 +0000 (00:47 +0000)]
Better feedback for sole completions

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19858

18 years agoDon't complete the directory separator if it would result in double separators
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:38 +0000 (00:47 +0000)]
Don't complete the directory separator if it would result in double separators

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19857

18 years agoRemove obsolete FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:21 +0000 (00:47 +0000)]
Remove obsolete FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19856

18 years agoRemove debug printfs
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:05 +0000 (00:47 +0000)]
Remove debug printfs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19855

18 years agoAdd some FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:46:48 +0000 (00:46 +0000)]
Add some FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19854

18 years agoOn error when loading a folder, use the raw error message instead of commenting it up
Federico Mena Quintero [Thu, 13 Mar 2008 00:46:31 +0000 (00:46 +0000)]
On error when loading a folder, use the raw error message instead of commenting it up

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19853

18 years agoClear the current_folder_path if loading yields an error
Federico Mena Quintero [Thu, 13 Mar 2008 00:46:14 +0000 (00:46 +0000)]
Clear the current_folder_path if loading yields an error

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19852

18 years agoPresent an error if we can't load the folder during explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:45:58 +0000 (00:45 +0000)]
Present an error if we can't load the folder during explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19851

18 years agoDetect when Tab would generate no new completions
Federico Mena Quintero [Thu, 13 Mar 2008 00:45:41 +0000 (00:45 +0000)]
Detect when Tab would generate no new completions

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19850

18 years agoDebug printfs for deleting/inserting the completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:45:23 +0000 (00:45 +0000)]
Debug printfs for deleting/inserting the completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19849

18 years agoIf explicitly completing and we have a completion, just unselect it
Federico Mena Quintero [Thu, 13 Mar 2008 00:45:05 +0000 (00:45 +0000)]
If explicitly completing and we have a completion, just unselect it

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19848

18 years agoAnother FIXME
Federico Mena Quintero [Thu, 13 Mar 2008 00:44:48 +0000 (00:44 +0000)]
Another FIXME

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19847

18 years agoAdd completion feedback in other places
Federico Mena Quintero [Thu, 13 Mar 2008 00:44:30 +0000 (00:44 +0000)]
Add completion feedback in other places

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19846

18 years agoFind the cursor position from GtkEntry for the completion feedback
Federico Mena Quintero [Thu, 13 Mar 2008 00:44:12 +0000 (00:44 +0000)]
Find the cursor position from GtkEntry for the completion feedback

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19845

18 years agoUse a timer for the completion feedback window
Federico Mena Quintero [Thu, 13 Mar 2008 00:43:54 +0000 (00:43 +0000)]
Use a timer for the completion feedback window

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19844

18 years agoDestroy the completion feedback window
Federico Mena Quintero [Thu, 13 Mar 2008 00:43:36 +0000 (00:43 +0000)]
Destroy the completion feedback window

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19843

18 years agoUse an alignment for the label like in GtkTooltip
Federico Mena Quintero [Thu, 13 Mar 2008 00:43:18 +0000 (00:43 +0000)]
Use an alignment for the label like in GtkTooltip

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19842

18 years agoShow the label as well as the feedback window
Federico Mena Quintero [Thu, 13 Mar 2008 00:42:58 +0000 (00:42 +0000)]
Show the label as well as the feedback window

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19841

18 years agoDebug printfs for the completion feedback position
Federico Mena Quintero [Thu, 13 Mar 2008 00:42:38 +0000 (00:42 +0000)]
Debug printfs for the completion feedback position

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19840

18 years agoCreate a tooltip-like window to present completion feedback
Federico Mena Quintero [Thu, 13 Mar 2008 00:42:19 +0000 (00:42 +0000)]
Create a tooltip-like window to present completion feedback

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19839

18 years agoBeep if there are no matches for explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:41:58 +0000 (00:41 +0000)]
Beep if there are no matches for explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19838

18 years agoScan the completion store again to look for complete-but-not-unique matches
Federico Mena Quintero [Thu, 13 Mar 2008 00:41:38 +0000 (00:41 +0000)]
Scan the completion store again to look for complete-but-not-unique matches

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19837

18 years agoStubs for all cases of completion feedback
Federico Mena Quintero [Thu, 13 Mar 2008 00:41:17 +0000 (00:41 +0000)]
Stubs for all cases of completion feedback

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19836

18 years agoUpdate comments on explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:40:57 +0000 (00:40 +0000)]
Update comments on explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19835

18 years agoStubs to give feedback when doing explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:40:37 +0000 (00:40 +0000)]
Stubs to give feedback when doing explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19834

18 years agoRefresh the file part when it gets requested and when activating the entry
Federico Mena Quintero [Thu, 13 Mar 2008 00:40:16 +0000 (00:40 +0000)]
Refresh the file part when it gets requested and when activating the entry

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19833

18 years agoClear the completion flags before appending the common prefix
Federico Mena Quintero [Thu, 13 Mar 2008 00:39:56 +0000 (00:39 +0000)]
Clear the completion flags before appending the common prefix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19832

18 years agoAdd FIXMEs for beeping later
Federico Mena Quintero [Thu, 13 Mar 2008 00:39:35 +0000 (00:39 +0000)]
Add FIXMEs for beeping later

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19831

18 years agoFactor out some code
Federico Mena Quintero [Thu, 13 Mar 2008 00:39:15 +0000 (00:39 +0000)]
Factor out some code

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19830

18 years agoImplement the basic code path for explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:38:53 +0000 (00:38 +0000)]
Implement the basic code path for explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19829

18 years agoClear pending completions thoroughly
Federico Mena Quintero [Thu, 13 Mar 2008 00:38:31 +0000 (00:38 +0000)]
Clear pending completions thoroughly

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19828

18 years agoRemove debug printfs from populate_completion_store()
Federico Mena Quintero [Thu, 13 Mar 2008 00:38:11 +0000 (00:38 +0000)]
Remove debug printfs from populate_completion_store()

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19827

18 years agoDebug printfs for finishing the folder load
Federico Mena Quintero [Thu, 13 Mar 2008 00:37:50 +0000 (00:37 +0000)]
Debug printfs for finishing the folder load

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19826

18 years agoMore debug printfs for populating the completion store
Federico Mena Quintero [Thu, 13 Mar 2008 00:37:27 +0000 (00:37 +0000)]
More debug printfs for populating the completion store

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19825

18 years agoDebug printfs for populating the completion store
Federico Mena Quintero [Thu, 13 Mar 2008 00:37:05 +0000 (00:37 +0000)]
Debug printfs for populating the completion store

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19824

18 years agoTurn on in_change while changing the filename in the entry
Federico Mena Quintero [Thu, 13 Mar 2008 00:36:42 +0000 (00:36 +0000)]
Turn on in_change while changing the filename in the entry

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19823

18 years agoUpdate some FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:36:18 +0000 (00:36 +0000)]
Update some FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19822

18 years agoWhen finding the common prefix, assert that we have the correct folder loaded
Federico Mena Quintero [Thu, 13 Mar 2008 00:35:54 +0000 (00:35 +0000)]
When finding the common prefix, assert that we have the correct folder loaded

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19821

18 years agoDiscard the completion store when we change the folder
Federico Mena Quintero [Thu, 13 Mar 2008 00:35:31 +0000 (00:35 +0000)]
Discard the completion store when we change the folder

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19820

18 years agoAdd some more FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:35:08 +0000 (00:35 +0000)]
Add some more FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19819

18 years agoRemove obsolete comments
Federico Mena Quintero [Thu, 13 Mar 2008 00:34:44 +0000 (00:34 +0000)]
Remove obsolete comments

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19818

18 years agoCancel all forms of completion at the appropriate times, not just in ::changed
Federico Mena Quintero [Thu, 13 Mar 2008 00:34:21 +0000 (00:34 +0000)]
Cancel all forms of completion at the appropriate times, not just in ::changed

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19817

18 years agoPut some more FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:33:55 +0000 (00:33 +0000)]
Put some more FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19816

18 years agoRe-create the completion store right before populating it
Federico Mena Quintero [Thu, 13 Mar 2008 00:33:31 +0000 (00:33 +0000)]
Re-create the completion store right before populating it

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19815

18 years agoPopulate the completion store when the folder is done loading
Federico Mena Quintero [Thu, 13 Mar 2008 00:32:58 +0000 (00:32 +0000)]
Populate the completion store when the folder is done loading

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19814

18 years agoRemove files_added handler
Federico Mena Quintero [Thu, 13 Mar 2008 00:32:32 +0000 (00:32 +0000)]
Remove files_added handler

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19813

18 years agoRemove files_deleted handler
Federico Mena Quintero [Thu, 13 Mar 2008 00:32:05 +0000 (00:32 +0000)]
Remove files_deleted handler

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19812

18 years agoHandle the folder being completely loaded
Federico Mena Quintero [Thu, 13 Mar 2008 00:31:38 +0000 (00:31 +0000)]
Handle the folder being completely loaded

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19811

18 years agoDebug printfs for finding the common prefix
Federico Mena Quintero [Thu, 13 Mar 2008 00:31:13 +0000 (00:31 +0000)]
Debug printfs for finding the common prefix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19810

18 years agoDebug printfs for the common prefix
Federico Mena Quintero [Thu, 13 Mar 2008 00:30:47 +0000 (00:30 +0000)]
Debug printfs for the common prefix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19809

18 years agoAutocomplete by inserting/selecting the common prefix
Federico Mena Quintero [Thu, 13 Mar 2008 00:30:20 +0000 (00:30 +0000)]
Autocomplete by inserting/selecting the common prefix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19808

18 years agoDebugging printfs
Federico Mena Quintero [Thu, 13 Mar 2008 00:29:55 +0000 (00:29 +0000)]
Debugging printfs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19807

18 years agoStart autocompletion in an idle so GtkEntry updates its cursor position
Federico Mena Quintero [Thu, 13 Mar 2008 00:29:30 +0000 (00:29 +0000)]
Start autocompletion in an idle so GtkEntry updates its cursor position

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19806

18 years agoRework the way autocompletion is initiated
Federico Mena Quintero [Thu, 13 Mar 2008 00:29:04 +0000 (00:29 +0000)]
Rework the way autocompletion is initiated

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19805

18 years agoFor autocompletion, consider only the text up to the cursor
Federico Mena Quintero [Thu, 13 Mar 2008 00:28:38 +0000 (00:28 +0000)]
For autocompletion, consider only the text up to the cursor

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19804

18 years agoDon't overwrite the suffix after the cursor when inserting the completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:28:12 +0000 (00:28 +0000)]
Don't overwrite the suffix after the cursor when inserting the completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19803

18 years agoSkip the cursor past the autocompleted part when requesting explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:27:46 +0000 (00:27 +0000)]
Skip the cursor past the autocompleted part when requesting explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19802

18 years agoMove the cursor to the end only if we highlight the completed match
Federico Mena Quintero [Thu, 13 Mar 2008 00:27:16 +0000 (00:27 +0000)]
Move the cursor to the end only if we highlight the completed match

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19801

18 years agoComplete even if not at the end of the text
Federico Mena Quintero [Thu, 13 Mar 2008 00:26:49 +0000 (00:26 +0000)]
Complete even if not at the end of the text

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19800

18 years agoOnly auto-insert the prefix if we are at the end of the text
Federico Mena Quintero [Thu, 13 Mar 2008 00:26:20 +0000 (00:26 +0000)]
Only auto-insert the prefix if we are at the end of the text

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19799

18 years agoFind the common prefix based on the cursor position
Federico Mena Quintero [Thu, 13 Mar 2008 00:25:50 +0000 (00:25 +0000)]
Find the common prefix based on the cursor position

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19798

18 years agoUpdated Slovak translation by Pavol Šimo.
Marcel Telka [Wed, 12 Mar 2008 20:45:48 +0000 (20:45 +0000)]
Updated Slovak translation by Pavol Šimo.

2008-03-12  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation by Pavol Šimo.

svn path=/trunk/; revision=19795

18 years agoRemove one extraneous space.
Tor Lillqvist [Wed, 12 Mar 2008 19:41:30 +0000 (19:41 +0000)]
Remove one extraneous space.

svn path=/trunk/; revision=19793

18 years agoBug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
Tor Lillqvist [Wed, 12 Mar 2008 19:34:38 +0000 (19:34 +0000)]
Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash

2008-03-12  Tor Lillqvist  <tml@novell.com>

Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash

* gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
for the TaskbarCreated message in the window procedure for the
dummy "tray observer" window we create. When we get a
TaskbarCreated message, iterate over the status icons and re-add
them to the task bar, and update them by calling
gtk_status_icon_update_image().

Move some ifdefs around to avoid unused functions.

svn path=/trunk/; revision=19792

18 years agoUpdate to match what configure produces.
Tor Lillqvist [Wed, 12 Mar 2008 18:53:03 +0000 (18:53 +0000)]
Update to match what configure produces.

2008-03-12  Tor Lillqvist  <tml@novell.com>

* config.h.win32.in: Update to match what configure produces.

svn path=/trunk/; revision=19791

18 years agoDon't define variables in the middle of a block. (#522067)
Jens Granseuer [Wed, 12 Mar 2008 18:37:39 +0000 (18:37 +0000)]
Don't define variables in the middle of a block. (#522067)

2008-03-12  Jens Granseuer  <jensgr@gmx.net>

* modules/printbackends/cups/gtkprintbackendcups.c:
(cups_printer_prepare_for_print): Don't define variables in the
middle of a block. (#522067)

svn path=/trunk/; revision=19789

18 years agoAdd an overwrite confirmation dialog for print-to-file. (#474302, Marek
Matthias Clasen [Wed, 12 Mar 2008 18:02:29 +0000 (18:02 +0000)]
Add an overwrite confirmation dialog for print-to-file. (#474302, Marek

2008-03-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
        dialog for print-to-file.  (#474302, Marek Kašík)

svn path=/trunk/; revision=19787

18 years agoFix a crash
Matthias Clasen [Wed, 12 Mar 2008 17:52:36 +0000 (17:52 +0000)]
Fix a crash

svn path=/trunk/; revision=19786

18 years agosv.po: Updated Swedish translation
Daniel Nylander [Wed, 12 Mar 2008 16:39:12 +0000 (16:39 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=19782

18 years agoDon't leak paper_size here. (#488820, Morten Welinder)
Matthias Clasen [Wed, 12 Mar 2008 16:37:51 +0000 (16:37 +0000)]
Don't leak paper_size here. (#488820, Morten Welinder)

2008-03-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
        paper_size here.  (#488820, Morten Welinder)

svn path=/trunk/; revision=19781

18 years agoremove this deprecated file.
Michael Natterer [Wed, 12 Mar 2008 14:05:23 +0000 (14:05 +0000)]
remove this deprecated file.

2008-03-12  Michael Natterer  <mitch@imendio.com>

* acconfig.h: remove this deprecated file.

* configure.in: added comments to all instances of AC_DEFINE() so
config.h can be completely generated from configure.in.

svn path=/trunk/; revision=19779

18 years agoinclude <glib/gstdio.h> for g_fopen().
Michael Natterer [Wed, 12 Mar 2008 11:12:37 +0000 (11:12 +0000)]
include <glib/gstdio.h> for g_fopen().

2008-03-12  Michael Natterer  <mitch@imendio.com>

* modules/printbackends/cups/gtkprintbackendcups.c: include
<glib/gstdio.h> for g_fopen().

svn path=/trunk/; revision=19775